package com.sanyang.lawyer.service.hr;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.sanyang.lawyer.entity.HrEducation;
import com.sanyang.lawyer.mapper.hr.HrEducationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HrEducationService {

    @Autowired
    private HrEducationMapper hrEducationMapper;

    public List<HrEducation> listAll(HrEducation hrEducation) {
        QueryWrapper<HrEducation> queryWrapper=new QueryWrapper<>();
            return this.hrEducationMapper.selectList(queryWrapper);
    }

}